<?php


namespace app\index\model;
use think\Db;
use think\Model;
use think\Exception;

class WswReport extends Model
{
    protected $table = 'xj_ybxx';

    //返回查询的样本信息
    public function GetWswReportInfoByYbid($str){
        $data = [];
        return $this->where('byh',$str)->select();
    }

    //返回查询的信息  根据姓名
    public function GetWswReportInfoByBrxm($str){
        $data = [];
        return $this->where('brxm',$str)->select();
    }

    //返回医院条码查询的数据

    public function GetWswReportInfoByYytm($str){
        $data = [];
        return $this->where('yytm',$str)->select();
    }

    //返回身份证号码查询的数据

    public function GetWswReportInfoByIdNumber($str){
        $data = [];
        return $this->where('idnumber',$str)->select();
    }
}